Dim instance As TcpBase
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
Dim value As Data
value = instance.Write(buffer, offset, count)
The position in the data buffer at which to begin sending data.
count
The number of bytes to send.
Return Value
A Data object encapsulating the sent data. Returns null if the socket is closed.
Remarks
This method synchronously sends data to the remote host over an existing connection. It will block until a buffer is available to accept the data or
SocketOption.SendTimeout has expired.